﻿<!DOCTYPE HTML>
<html xmlns:wb="http://open.weibo.com/wb" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
	<script id="allmobilize" charset="utf-8" src="style/js/allmobilize.min.js"></script>
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="alternate" media="handheld"  />
	<!-- end 云适配 -->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>全国-公司列表-拉勾网-最专业的互联网招聘平台</title>
	<meta property="qc:admins" content="23635710066417756375" />
	<meta content="全国condition-condition-公司列表-拉勾网-最专业的互联网招聘平台" name="description">
	<meta content="全国condition-公司列表-拉勾网-最专业的互联网招聘平台" name="keywords">
	<meta name="baidu-site-verification" content="QIQ6KC1oZ6" />

	<!-- <div class="web_root"  style="display:none">h</div> -->
	<script type="text/javascript">
		console.log(1);
	</script>
	<link rel="Shortcut Icon" href="/images/favicon.ico">
	<link rel="stylesheet" type="text/css" href="style/css/style.css"/>
	<link rel="stylesheet" type="text/css" href="style/css/external.min.css"/>
	<link rel="stylesheet" type="text/css" href="style/css/popup.css"/>
	<script src="style/js/jquery.1.10.1.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="style/js/jquery.lib.min.js"></script>
	<script src="style/js/ajaxfileupload.js" type="text/javascript"></script>
	<script type="text/javascript" src="style/js/additional-methods.js"></script>
	<!--[if lte IE 8]>
	<script type="text/javascript" src="style/js/excanvas.js"></script>
	<![endif]-->
	<script type="text/javascript">
		var youdao_conv_id = 271546;
	</script>
	<script type="text/javascript" src="style/js/conv.js"></script>
</head>
<body>
<div id="body">
	<div id="header">
		<div class="wrapper">
			<a href="index.html" class="logo">
				<img src="style/images/logo.png" width="229" height="43" alt="拉勾招聘-专注互联网招聘" />
			</a>
			<ul class="reset" id="navheader">
				<li ><a href="index.html">首页</a></li>
				<li class="current"><a href="companylist.html" >公司</a></li>
				<li ><a href="/toForum.html" target="_blank">论坛</a></li>
				<li ><a href="jianli.html" rel="nofollow">我的简历</a></li>
				<li ><a href="create.html" rel="nofollow">发布职位</a></li>
			</ul>
			<ul class="loginTop">
				<li><a  rel="nofollow" th:text="${session.Msg}"></a></li>
				<li>|</li>
				<li><a href="register.html" rel="nofollow">注册</a></li>
			</ul>
		</div>
	</div><!-- end #header -->
	<div id="container">

		<div class="clearfix">
			<div class="content_l">
				<form id="companyListForm" name="companyListForm" method="get" action="collections.html  ">
					<input type="hidden" id="city" name="city" value="全国" />
					<input type="hidden" id="fs" name="fs" value="" />
					<input type="hidden" id="ifs" name="ifs" value="" />
					<input type="hidden" id="ol" name="ol" value="" />
					<dl class="hc_tag">
						<dt>
							<!--  <h2 class="fl">热门公司</h2> -->
							<ul class="workplace reset fr" id="workplaceSelect">
								<li >
									<a href="javascript:void(0)"  class="current" >全国</a>
									|
								</li>

								<li  th:each="work:${workplacelist}">
									<a href="javascript:void(0)" th:text="${work.WName}"></a>
									|
								</li>

								<li  class="more" >
									<a href="javascript:void(0)" >其他</a>
									<div class="triangle citymore_arrow"></div>
								</li>
								<li id="box_expectCity" class="searchlist_expectCity dn">
									<span class="bot"></span>
									<span class="top"></span>
									<dl>
										<dd th:each="r:${province}">
											<span th:text="${r.name}"></span>
										</dd>
									</dl>
									<dl>
									</dl>
							</ul>
						</dt>
						<dd>
							<dl>
								<dt>发展阶段：</dt>
								<dd id="development">
								</dd>
							</dl>
							<dl>
								<dt>行业领域：</dt>
								<dd id="field">
								</dd>
							</dl>

						</dd>
					</dl>
					<ul class="hc_list reset" id="company" >

					</ul>
					<div class="Pagination">
						<a id="shou">首页</a>
						<a id="shang">上一页</a>
						<span><span id="page">1</span><span>/</span><span id="totalPageCount" th:text="${totalPageCount}"></span></span>
						<a id="xia">下一页</a>
						<a id="wei">尾页</a>
					</div>

				</form>
			</div>

			<div class="content_r">
				<div class="subscribe_side">
					<a href="subscribe.html" target="_blank">
						<div class="subpos"><span>订阅</span> 职位</div>
						<div class="c7">拉勾网会根据你的筛选条件，定期将符合你要求的职位信息发给你
						</div>

						<div class="count">已有<em th:text=${session.msg}></em>人订阅</div>
						<i>我也要订阅职位</i>
					</a>
				</div>
				<div class="greybg qrcode mt20">
					<img src="style/images/companylist_qr.png" width="242" height="242" alt="拉勾微信公众号二维码" />
					<span class="c7">扫描拉勾二维码，微信轻松搜工作</span>
				</div>
				<!-- <a href="h/speed/speed3.html" target="_blank" class="adSpeed"></a> -->
				<a href="/jobguide.html" target="_blank" class="eventAd">
					<img src="style/images/subject280.jpg" width="280" height="135" />
				</a>
				<a href="/risingPrice.html" target="_blank" class="eventAd">
					<img src="style/images/rising280.png" width="280" height="135" />
				</a>
			</div>
		</div>

		<input type="hidden" value="" name="userid" id="userid" />

		<script type="text/javascript" src="style/js/company_list.min.js"></script>

		<div class="clear"></div>
		<input type="hidden" id="resubmitToken" value="" />
		<a id="backtop" title="回到顶部" rel="nofollow"></a>
	</div><!-- end #container -->
</div><!-- end #body -->
<div id="footer">
	<div class="wrapper">
		<a href="/about.html" target="_blank" rel="nofollow">联系我们</a>
		<a href="/zhaopin.html" target="_blank">互联网公司导航</a>
		<a href="http://e.weibo.com/lagou720" target="_blank" rel="nofollow">拉勾微博</a>
		<a class="footer_qr" href="javascript:void(0)" rel="nofollow">拉勾微信<i></i></a>
		<div class="copyright">&copy;2013-2014 Lagou <a target="_blank" href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action">京ICP备14023790号-2</a></div>
	</div>
</div>

<script type="text/javascript" src="style/js/core.min.js"></script>
<script type="text/javascript" src="style/js/popup.min.js"></script>

<!--  -->


<script>

	$(document).ready(function () {

		field();
		development();
		company(1);

		function field() {
			$.ajax({
				"url": "/findAllField",
				"type": "post",
				"dataType": "json",
				"success": fieldList,
				"error": function () {
					alert("验证时出现错误。");
				}
			})
		}

		function fieldList(data) {
			var f = $("#field").empty();
			for (var i = 0; i < data.length; i++) {
				f.append("<a id='"+data[i].fId+"'>"+data[i].fName+"</a>");
			}
		}

		function development() {
			$.ajax({
				"url": "/findAllDevelopment",
				"type": "post",
				"dataType": "json",
				"success": developmentList,
				"error": function () {
					alert("验证时出现错误。1");
				}
			})
		}

		function developmentList(data) {
			var f = $("#development").empty();
			for (var i = 0; i < data.length; i++) {
				f.append("<a id='"+data[i].dId+"'>"+data[i].dName+"</a>");
			}
		}

		function company(page) {
			$.ajax({
				"url": "/companyPageList",
				"type": "post",
				"dataType": "json",
				"data": "page="+page,
				"success": companyList,
				"error": function () {
					alert("验证时出现错误。2");
				}
			})
		}

		function companyList(data) {
			var f = $("#company").empty();
			for (var i = 3; i < data.length+3; i++) {
				if (i%3==0){
					f.append("<li style='clear:both;' >" +
							"<a href='' target='_blank'>" +
							"<h3 title='CCIC'>"+data[i-3].companyName+"</h3>" +
							"<div class='comLogo'>" +
							"<img src='"+data[i-3].companyImage+"' width='190' height='190' alt='CCIC' />" +
							"<ul>" +
							"<li>安全</li>" +
							"<li>深圳，D轮及以上</li>" +
							"</ul></div></a >" +
							"<a href='collections.html' target='_blank'> 环境监测工程师</a>" +
							"<a href='collections.html' target='_blank'> 电学校准工程师</a>" +
							"<a href='collections.html' target='_blank'> 能源管理项目经理</a>" +
							"<ul class='reset ctags'>" +
							"<li>D轮及以上</li>" +
							"<li>安全</li>" +
							"<li>年终分红</li>" +
							"<li>绩效奖金</li>" +
							"<li>五险一金</li>" +
							"<li>交通补助</li>" +
							"</ul></li>");
				} else {
					f.append("<li>" +
							"<a href='' target='_blank'>" +
							"<h3 title='CCIC'>"+data[i-3].companyName+"</h3>" +
							"<div class='comLogo'>" +
							"<img src='"+data[i-3].companyImage+"' width='190' height='190' alt='CCIC' />" +
							"<ul>" +
							"<li>安全</li>" +
							"<li>深圳，D轮及以上</li>" +
							"</ul></div></a>" +
							"<a href='collections.html' target='_blank'> 环境监测工程师</a>" +
							"<a href='collections.html' target='_blank'> 电学校准工程师</a>" +
							"<a href='collections.html' target='_blank'> 能源管理项目经理</a>" +
							"<ul class='reset ctags'>" +
							"<li>D轮及以上</li>" +
							"<li>安全</li>" +
							"<li>年终分红</li>" +
							"<li>绩效奖金</li>" +
							"<li>五险一金</li>" +
							"<li>交通补助</li>" +
							"</ul></li>");
				}
			}
		}

		$("#shou").click(function () {
			company(1);
			$("#page").text(1);
		})

		$("#wei").click(function () {
			var page = parseInt($("#totalPageCount").text());
			company(page);
			$("#page").text(page);
		})

		$("#shang").click(function () {
			var page = parseInt($("#page").text());
			if (page-1 == 0){
				alert("这已经是第一页了");
			} else {
				company(page-1);
				$("#page").text(page-1);
			}
		})

		$("#xia").click(function () {
			var page = parseInt($("#page").text());
			var totalPageCount = parseInt($("#totalPageCount").text());
			if (page == totalPageCount){
				alert("这已经是最后一页了");
			} else {
				company(page+1);
				$("#page").text(page+1);
			}
		})

		$('#development').on('click','a',function () {
			var dId = $(this).attr("id");
			companyTj(1,dId,0);
			totalCount(dId,0);
			$("#page").text(1);
		})

		$('#field').on('click','a',function () {
			var fId = $(this).attr("id");
			companyTj(1,0,fId);
			totalCount(0,fId);
			$("#page").text(1);
		})

		function companyTj(page,dId,fId) {
			$.ajax({
				"url": "/companyTjPageList",
				"type": "post",
				"dataType": "json",
				"data": "page="+page+"&dId="+dId+"&fId="+fId,
				"success": companyTjList,
				"error": function () {
					alert("验证时出现错误。3");
				}
			})
		}

		function companyTjList(data) {
			var f = $("#company").empty();
			for (var i = 3; i < data.length+3; i++) {
				if (i%3==0){
					f.append("<li style='clear:both;' >" +
							"<a href='' target='_blank'>" +
							"<h3 title='CCIC'>"+data[i-3].companyName+"</h3>" +
							"<div class='comLogo'>" +
							"<img src='"+data[i-3].companyImage+"' width='190' height='190' alt='CCIC' />" +
							"<ul>" +
							"<li>安全</li>" +
							"<li>深圳，D轮及以上</li>" +
							"</ul></div></a>" +
							"<a href='collections.html' target='_blank'> 环境监测工程师</a>" +
							"<a href='collections.html' target='_blank'> 电学校准工程师</a>" +
							"<a href='collections.html' target='_blank'> 能源管理项目经理</a>" +
							"<ul class='reset ctags'>" +
							"<li>D轮及以上</li>" +
							"<li>安全</li>" +
							"<li>年终分红</li>" +
							"<li>绩效奖金</li>" +
							"<li>五险一金</li>" +
							"<li>交通补助</li>" +
							"</ul></li>");
				} else {
					f.append("<li>" +
							"<a href='' target='_blank'>" +
							"<h3 title='CCIC'>"+data[i-3].companyName+"</h3>" +
							"<div class='comLogo'>" +
							"<img src='"+data[i-3].companyImage+"' width='190' height='190' alt='CCIC' />" +
							"<ul>" +
							"<li>安全</li>" +
							"<li>深圳，D轮及以上</li>" +
							"</ul></div></a>" +
							"<a href='collections.html' target='_blank'> 环境监测工程师</a>" +
							"<a href='collections.html' target='_blank'> 电学校准工程师</a>" +
							"<a href='collections.html' target='_blank'> 能源管理项目经理</a>" +
							"<ul class='reset ctags'>" +
							"<li>D轮及以上</li>" +
							"<li>安全</li>" +
							"<li>年终分红</li>" +
							"<li>绩效奖金</li>" +
							"<li>五险一金</li>" +
							"<li>交通补助</li>" +
							"</ul></li>");
				}

			}
		}

		function totalCount(dId,fId) {
			$.ajax({
				"url": "/totalCount",
				"type": "post",
				"dataType": "json",
				"data": "dId="+dId+"&fId="+fId,
				"success": totalCountList,
				"error": function () {
					alert("验证时出现错误。4");
				}
			})
		}

		function totalCountList(data) {
			var totalPageCount = Math.ceil(data/3);
			$("#totalPageCount").text(totalPageCount);
		}

	})

</script>
<!--  -->

</body>
</html>